

length=1
step=0.00001
start=0
while True:
    start+=step
    if abs((start/length)-(length-start)/start)<=0.0001:
        print start,start/length
        break
    if start>length:
        break










